package com.rran.study.designpattern.structural.bridge;

/**
 * @author yy
 * @Type Abstraction.java
 * @Desc
 * @date 2020/7/27 10:13
 */
public abstract class AbstractPen {
    //对实例化对象的引用
    protected Color color;

    public AbstractPen(Color color) {
        this.color=color;
    }
    //抽象类画画
    public abstract void paint();

}
